class Constant:
    # UA标识
    USER_AGENT = 'API-AUTO-TEST-ROBOT'

    # 支持的请求方法
    ALLOW_METHODS = ['get', 'delete', 'head', 'options', 'patch', 'post', 'put']
    METHOD_OPTIONS = 'options'

    CONTENT_TYPE_URL_ENCODED = 'application/x-www-form-urlencoded'
    CONTENT_TYPE_JSON = 'application/json'
    CONTENT_TYPE_MULTIPART = 'multipart/form-data'

    FROM_APPID_KEY = 'from_appid'
    FROM_APPKEY_KEY = 'from_appkey'
    FROM_CHANNEL_KEY = 'from_channel'

    TO_APPID_KEY = 'appid'
    TO_APPKEY_KEY = 'appkey'
    TO_CHANNEL_KEY = 'channel'
    TO_CHANNEL_ALIAS_KEY = 'channelAlias'
    TO_CHANNEL_ALIAS = 'alias'
    ACCOUNT_ID_KEY = 'account_id'

    SUPER_ACCOUNT_ID_KEY = 'super_account_id'
    ORG_KEY = 'org_key'
    SUB_ORG_KEY_KEY = 'sub_org_key'
    DEFAULT_CHANNEL_ALIAS = 'default'

    # kong代理配置环境变量key
    KONG_PROXY = 'KONG_PROXY'
    HEADER_APPID = 'X-Appid'
    HEADER_APPKEY = 'X-Appkey'
    HEADER_CHANNEL = 'X-Channel'

    HEADER_CALL_BY_CHAIN = 'X-IS-CHAIN'

    # nginx会把header自动转换为加http_前缀并全部大写
    SELF_APPID_KEY = 'HTTP_X_APPID'  # X - Appid
    SELF_APPKEY_KEY = 'HTTP_X_APPKEY'
    SELF_CHANNEL_KEY = 'HTTP_X_CHANNEL'
    SUPER_ADMIN_ACCOUNT_ID = 'SUPER_ADMIN_ACCOUNT_ID'

    REGISTER_APPID = 'xrpkalflbedhowhju6cqszg0p73zd8qu'
    REGISTER_CENTER_APP = 'register_center'

    # 环境变量Key
    ENVS_BASE_PATH = 'ENVS_BASE_PATH'
    SKY_WALKING_PATH = 'MSP_SKY_GRPC_ADDRESS'

    # 知识管理服务 app_id
    KNOWLEDGE_MANAGEMENT_APP_ID = 'c0d654bb24e04b6da3fba7fcc7bf451a'

    # 问答服务APP_ID
    ROBOT_APP_ID = '0d4e90411dce4ba099ef1f28995ec59d'

    # UCenter服务 app_id
    USER_CENTER_APP_ID = 'sihpkp4z3rg7wvsozr5lkta9nxxiocqj'
    # 账号服务 app_id
    ACCOUNT_APP_ID = 'doatnnuotjlwbh6r83jed1m7yvwrps5q'

    # 论坛应用 app_id
    FORUM_APPLICATION_APP_ID = '74d787d1123f4d5797f7105e7f50c9ec'
    # 圈子服务 app_id
    CIRCLE_SERVICE_APP_ID = '33bc671e406646d6a76374ad62136e07'
    # 话题服务 app_id
    TOPIC_SERVICE_APP_ID = 'c6446685eab54eb78eac4f512af89875'
    # 词库服务 app_id
    WORD_SERVICE_APP_ID = '532adbc08a9c4ab4a250f9be256eb7f1'

    # IM-聊天服务 app_id
    IM_CHAT_SERVICE_APP_ID = 'i9wzpz8ntvlhrfcetw20lk4b7acnbuds'
    IM_BASIC_SERVER_APP_ID = 'fjobc9b7i8kakmtorewwqyepg5l4hmlp'
    IM_UPLOAD_APP_ID = 'dv3rs2d7jeg4uamuakhxylen9iplbnws'
